<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
 
    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">标题:</label>
         <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="" style="width:300px;">
        </div>
    </div>
       

    <div class="form-group">
        <label for="c-age" class="control-label col-xs-12 col-sm-2">类型:</label>
      <div class="col-xs-12 col-sm-8">
            {:build_radios('row[type]', ['1'=>'文字','2'=>'图片'])}
            
      
        </div>
    </div>
      <input id="c-task_id" class="form-control" name="row[task_id]" type="hidden"    value="{$Request.param.task_id}" >
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
